.webuploader-container {
  position: relative;
  width: 100%;
  div{
    width: auto;
    height: auto;
  }
}

.webuploader-element-invisible {
  position: absolute !important;
  clip: rect(1px 1px 1px 1px) !important;
  /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px) !important; }


.webuploader-pick-hover {
  background: #00a2d4; }

.webuploader-pick-disable {
  opacity: 0.6;
  pointer-events: none; }

#container {
  color: #838383;
  font-size: 12px;
  .queueList {
    margin: 20px;
    border: 3px dashed #e6e6e6;
    &.filled {
      padding: 17px;
      margin: 0;
      border: 3px dashed transparent;
    }
    &.webuploader-dnd-over {
      //border: 3px dashed #999999;
    }
  }
}

#uploader{
  p {
    margin: 0;
  }
  .placeholder {
    height: 217px;
    padding-top: 190px;
    text-align: center;
    background: url(../images/image.png) center 105px no-repeat;
    color: #cccccc;
    font-size: 18px;
    position: relative;
    .webuploader-pick {
      font-size: 15px;
      background: #2898fd;
      border-radius: 3px;
      line-height: 44px;
      padding: 0 30px;
      *width: 120px;
      color: #fff;
      display: inline-block;
      margin: 0 auto 20px auto;
      cursor: pointer;
      box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    }
    .webuploader-pick-hover {
      //background: #00a2d4;
      box-shadow: inset -2px -3px 5px rgba(0,0,0,0.125);
      -webkit-box-shadow: inset -3px -2px 5px rgba(0,0,0,0.125);
      -moz-box-shadow: inset -2px -3px 5px rgba(0,0,0,0.125);
      -o-box-shadow: inset -2px -3px 5px rgba(0,0,0,0.125);
      outline: none;
      background-color: #0f8cfd;
      color: white;
    }
    .flashTip {
      color: #666666;
      font-size: 12px;
      position: absolute;
      width: 100%;
      text-align: center;
      bottom: 20px;
      a {
        color: #0785d1;
        text-decoration: none;
        &:hover {
          text-decoration: underline;
        }
      }
    }
  }
  .filelist {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 510px;
    height: 400px;
    &:after {
      content: '';
      display: block;
      width: 0;
      height: 0;
      overflow: hidden;
      clear: both;
    }
    li {
      text-align: center;
      position: relative;
      overflow: hidden;
      font-size: 12px;
      width: 537px !important;
      height: 398px;
      display: table;
      p.imgWrap {
        position: relative;
        z-index: 2;
        line-height: 110px;
        vertical-align: middle;
        overflow: hidden;
        -webkit-transform-origin: 50% 50%;
        -moz-transform-origin: 50% 50%;
        -o-transform-origin: 50% 50%;
        -ms-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
        -moz-transition: 200ms ease-out;
        -o-transition: 200ms ease-out;
        transition: 200ms ease-out;
        display: table-cell;
        width: 520px;
        height: 370px;
        img {
          margin: 0 auto;
          max-width: 460px;
          max-height: 370px;
          width: auto;
          height: auto;
        }
      }
      p.log {
        position: relative;
        top: -45px;
      }
      p.title {
        display: none;
        position: absolute;
        left: 0;
        width: 100%;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        top: 5px;
        text-indent: 5px;
        text-align: left;
      }
      p.progress {
        position: absolute;
        width: 100%;
        bottom: 0;
        left: 0;
        height: 8px;
        overflow: hidden;
        z-index: 50;
        margin: 0;
        border-radius: 0;
        background: none;
        -webkit-box-shadow: 0 0 0;
        span {
          display: none;
          overflow: hidden;
          width: 0;
          height: 100%;
          background: #1483d8 url(../images/progress.png) repeat-x;
          -moz-transition: width 200ms linear;
          -o-transition: width 200ms linear;
          transition: width 200ms linear;
          -webkit-animation: progressmove 2s linear infinite;
          -moz-animation: progressmove 2s linear infinite;
          -o-animation: progressmove 2s linear infinite;
          animation: progressmove 2s linear infinite;
          -webkit-transform: translateZ(0);
        }
      }
      p.error {
        background: #f43838;
        color: #fff;
        position: absolute;
        bottom: 0;
        left: 0;
        height: 28px;
        line-height: 28px;
        width: 100%;
        z-index: 100;
      }
      .success {
        display: block;
        position: absolute;
        left: 0;
        bottom: 0;
        height: 40px;
        width: 100%;
        z-index: 200;
        background: url(../images/Success.png) no-repeat right bottom;
      }

    }

  }
}



.element-invisible {
  position: absolute !important;
  clip: rect(1px 1px 1px 1px);
  /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px); }



@-webkit-keyframes progressmove {
  0% {
    background-position: 0 0; }
  100% {
    background-position: 17px 0; } }
@-moz-keyframes progressmove {
  0% {
    background-position: 0 0; }
  100% {
    background-position: 17px 0; } }
@keyframes progressmove {
  0% {
    background-position: 0 0; }
  100% {
    background-position: 17px 0; } }



#uploader .filelist div.file-panel {
  position: absolute;
  height: 0;
  filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#80000000', endColorstr='#80000000') \0;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 300; }

#uploader .filelist div.file-panel span {
  width: 24px;
  height: 24px;
  display: inline;
  float: right;
  text-indent: -9999px;
  overflow: hidden;
  background: url(../images/uploaderIcons.png) no-repeat;
  margin: 5px 1px 1px;
  cursor: pointer; }

#uploader .filelist div.file-panel span.rotateLeft {
  background-position: 0 -24px; }

#uploader .filelist div.file-panel span.rotateLeft:hover {
  background-position: 0 0; }

#uploader .filelist div.file-panel span.rotateRight {
  background-position: -24px -24px; }

#uploader .filelist div.file-panel span.rotateRight:hover {
  background-position: -24px 0; }

#uploader .filelist div.file-panel span.cancel {
  background-position: -48px -24px; }

#uploader .filelist div.file-panel span.cancel:hover {
  background-position: -48px 0; }

#uploader .statusBar {
  display: none;
  height: 63px;
  padding: 0 20px;
  line-height: 63px;
  vertical-align: middle;
  position: relative; }

#uploader .statusBar .progress {
  border: 1px solid #1483d8;
  width: 198px;
  background: #fff;
  height: 18px;
  position: relative;
  display: inline-block;
  text-align: center;
  line-height: 20px;
  color: #6dbfff;
  margin: 0 10px 0 0; }

#uploader .statusBar .progress span.percentage {
  width: 0;
  height: 100%;
  left: 0;
  top: 0;
  background: #1483d8;
  position: absolute; }

#uploader .statusBar .progress span.text {
  position: relative;
  z-index: 10; }

#uploader .statusBar .info {
  display: inline-block;
  font-size: 14px;
  color: #666666; }

#uploader .statusBar .btns .webuploader-pick,
#uploader .statusBar .btns .uploadBtn,
#uploader .statusBar .btns .uploadBtn.state-uploading,
#uploader .statusBar .btns .uploadBtn.state-paused {
  background: #ffffff;
  border: 1px solid #cfcfcf;
  color: #565656;
  padding: 0 18px;
  display: inline-block;
  border-radius: 3px;
  margin-left: 10px;
  cursor: pointer;
  font-size: 14px;
  float: left; }
#uploader .statusBar .btns {
  position: absolute;
  top: 22px;
  left: 0;
  line-height: 40px;
  z-index: 10;
  width: 90px;
  height: 30px;
  .webuploader-pick{
    cursor: pointer;
    font-weight: normal;
    line-height: normal;
    position: relative;
    text-decoration: none;
    text-align: center;
    -webkit-appearance: none;
    -moz-appearance: none;
    display: inline-block;
    font-size: 12px;
    padding: 6px 10px 6px 30px;
    color: #333;
    transition: background-color 300ms ease-out;
    margin-left: 0;
  }
  i{
    display: block;
    position: absolute;
    background: url(../images/btn-icon.png) no-repeat 0 0;
    width: 15px;
    height: 15px;
    overflow: hidden;
    z-index: 1;
    top: 5px;
    left: 9px;
  }
}

#filePicker2 {
  //display: block;
  //position: relative;
  //width: 100%;
  height: 30px;
  div{
    width: 100px;
    height: 30px;
  }
}


#uploader .statusBar .btns .webuploader-pick-hover,
#uploader .statusBar .btns .uploadBtn:hover,
#uploader .statusBar .btns .uploadBtn.state-uploading:hover,
#uploader .statusBar .btns .uploadBtn.state-paused:hover {
  background: #f0f0f0; }

#uploader .statusBar .btns .uploadBtn {
  background: #00b7ee;
  color: #fff;
  border-color: transparent; }

#uploader .statusBar .btns .uploadBtn:hover {
  background: #00a2d4; }

#uploader .statusBar .btns .uploadBtn.disabled {
  pointer-events: none;
  opacity: 0.6; }

//自定义的写法  begin

//按钮样式
.button {
  cursor: pointer;
  font-weight: normal;
  line-height: normal;
  position: relative;
  text-decoration: none;
  text-align: center;
  -webkit-appearance: none;
  -moz-appearance: none;
  display: inline-block;
  font-size: 12px;
  /*border-radius: 3px;*/
  padding: 8px 15px;
  color: #ffffff;
  transition: background-color 300ms ease-out;
  &:hover{
    box-shadow: inset -2px -3px 5px rgba(0, 0, 0, 0.125);
    -webkit-box-shadow: inset -3px -2px 5px rgba(0, 0, 0, 0.125);
    -moz-box-shadow: inset -2px -3px 5px rgba(0, 0, 0, 0.125);
    -o-box-shadow: inset -2px -3px 5px rgba(0, 0, 0, 0.125);
    outline: none;
    background-color: #0f8cfd;
    color: white;
  }
}
.btn-secondary{
  background-color: #e9e9e9;
  border: 1px solid  #e9e9e9;
  color: #000;
  padding: 6px 15px;
}
.btn-secondary:hover{
  background-color: #f1ebeb;
  border: 1px solid #f1ebeb;
  color: #2898fd;
}
.uploaderBtnSure , .defaultBtnSure{
  display: none;
  background-color: #2898fd;
  border: 1px solid  #2898fd;
  color: #ffffff;
  padding: 6px 15px;
  :hover{
    background-color: #0f8cfd;
    color: white;
  }
}


.head-img-show{
  width: 120px;
  height: 120px;
  img{
    background: url(../images/face120.png) no-repeat;
    width: 120px;
    height: 120px;
    border-radius: 100%;
    cursor: pointer;
  }
  a{
    display: block;
    font-size: 14px;
    //font-family: "微软雅黑", serif;
    text-align: center;
    height: 40px;
    line-height: 40px;
  }
}

.head-img-layout{
  .box-content{
    width: 740px;
    height: auto;
    .wrap{
      .head-img-tab{
        ul{
          margin: 15px 20px 0;
          border-bottom: 2px solid #2898fd;
          height: 30px;
          li{
            float: left;
            height: 30px;
            margin: 0 3px 0 0;
            font-weight: normal;
            background: #eee;
            &.on{
              background: #2898fd;
              color: #fff;
              a{
                color: white;
              }
            }
            a{
              padding: 10px 15px;
              text-align: center;
              height: 18px;
              line-height: 30px;
            }
          }
        }
      }
      .mod-con{
        padding-top:20px;
        .head-img-tab-con{
          width: 540px;
          float: left;
          position: relative;
          #uploader{
            width: 540px;
            height: 400px;
            background: #f7f7f7;
            margin-left: 20px;
            display: inline-block;

          }
          .head-default{
            width: 540px;
            height: 411px;
            overflow-y: scroll;
            overflow-x: hidden;
            padding-left: 20px;
            position: relative;
            .title{
              font-size: 14px;
              //font-family: "微软雅黑", "Lucida Grande", Tahoma, serif;
              display: block;
              margin-bottom: 8px;
            }
            ul{
              margin-left: 3px;
              position: relative;
              li{
                float: left;
                width: 60px;
                height: 60px;
                margin: 0 15px 15px 0;
                position: relative;
                &:hover{
                  -webkit-box-shadow: 0 0 0 3px #2489FF;
                  -moz-box-shadow: 0 0 0 2px #2489FF;
                  box-shadow: 0 0 0 3px #2489FF;
                }
                &.on{
                  -webkit-box-shadow: 0 0 0 3px #2489FF;
                  -moz-box-shadow: 0 0 0 2px #2489FF;
                  box-shadow: 0 0 0 3px #2489FF;
                  i{
                    display: block;
                  }
                }
                img{
                  width: 60px;
                  height: 60px;
                }
                i{
                  display: none;
                  position: absolute;
                  right: 0;
                  bottom: 0;
                  width: 10px;
                  height: 10px;
                  background: url(../images/btn-icon.png) no-repeat -95px -20px;
                }
              }
            }
          }
          .btn-grop{
            position: relative;
            margin: 10px 0 0 0;
            width: 700px;
            text-align: right;
            a{}
          }
        }
        .head-img-preview{
          width: 179px;
          float: right;
          height: 387px;
          //border-left: 1px dashed #ddd;
          .preview-con{
            //font-family: "微软雅黑", "Lucida Grande", Tahoma, serif;
            padding: 0 20px;
            .crop-img-container{
              overflow: hidden;
              border-radius: 5px;
              img{
                display: inline-block;
                vertical-align: middle;
                max-width: 9999px;
              }
            }
            .crop-img-120{
              text-align: center;
              margin-top: 0;
              overflow: hidden;
              .crop-img-container{
                background: url(../images/face120.png) no-repeat;
                width: 120px;
                height: 120px;
                img{
                  display: inline-block;
                  vertical-align: middle;
                }
              }
            }
            .crop-img-60{
              text-align: center;
              padding-top: 10px;
              margin-top: 0;
              overflow: hidden;
              .crop-img-container{
                background: url(../images/face60.png) no-repeat;
                width: 60px;
                height: 60px;
                margin: 0 auto;
                img{

                }
              }

            }
            span{
              color: #999;
              font-size: 12px;
              text-align: center;
              height: 35px;
              line-height: 35px;
              display: block;
            }
            .title{
              font-size: 14px;
            }
            .history-head-img{
              ul{
                margin: -5px -16px 0 0;
                li{
                  float: left;
                  margin: 15px 15px 0 0;
                  img{
                    width: 30px;
                    height: 30px;
                    background: url(../images/face30.png) no-repeat;
                    border-radius: 3px;
                  }
                }
              }
            }
          }
        }
      }
      #filePicker>div:nth-child(2) {
        height: 40px !important;
        overflow: hidden;
        top: 0 !important;
        width: 165px !important;
        left: 160px !important;
      }
      #filePicker label {
        height: 40px !important;
      }

    }
  }
}


//jcrop reset
.jcrop-holder{
  margin: 0 auto;
}